﻿using iMES.Entity.SystemModels;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;

namespace iMES.Entity.DomainModels
{

    [Entity(TableCnName = "工序列表", TableName = "Basicdata_ProcessrouteList")]
    public partial class Basicdata_ProcessrouteList : SysEntity
    {

        /// <summary>
        ///工艺路线工序列表主键ID
        /// </summary>
        [Key]
        [Display(Name = "工艺路线工序列表主键ID")]
        [Column(TypeName = "int")]
        public int  ProcessLineList_Id { get; set; }

        /// <summary>
        ///工艺路线
        /// </summary>
        [Display(Name = "工艺路线")]
        [Column(TypeName = "int")]
        public int? ProcessLine_Id { get; set; }

        /// <summary>
        ///类型
        /// </summary>
        [Display(Name = "类型")]
        [MaxLength(200)]
        [Column(TypeName = "nvarchar(200)")]
        [Editable(true)]
        public string? ProcessLineType { get; set; }

        /// <summary>
        ///工序
        /// </summary>
        [Display(Name = "工序")]
        [Column(TypeName = "int")]
        [Editable(true)]
        public int? Process_Id { get; set; }

        /// <summary>
        ///工艺路线
        /// </summary>
        [Display(Name = "工艺路线")]
        [Column(TypeName = "int")]
        [Editable(true)]
        public int? ProcessLineDown_Id { get; set; }

        /// <summary>
        ///顺序
        /// </summary>
        [Display(Name = "顺序")]
        [Column(TypeName = "int")]
        [Editable(true)]
        public int? Sequence { get; set; }

        /// <summary>
        ///报工数配比
        /// </summary>
        [Display(Name = "报工数配比")]
        [DisplayFormat(DataFormatString = "20,3")]
        [Column(TypeName = "decimal")]
        [Editable(true)]
        public decimal? SubmitWorkMatch { get; set; }

        /// <summary>
        ///创建时间
        /// </summary>
        [Display(Name = "创建时间")]
        [Column(TypeName = "datetime")]
        public DateTime? CreateDate { get; set; }

        /// <summary>
        ///创建人编号
        /// </summary>
        [Display(Name = "创建人编号")]
        [Column(TypeName = "int")]
        public int? CreateID { get; set; }

        /// <summary>
        ///创建人
        /// </summary>
        [Display(Name = "创建人")]
        [MaxLength(200)]
        [Column(TypeName = "nvarchar(200)")]
        public string? Creator { get; set; }

        /// <summary>
        ///修改人
        /// </summary>
        [Display(Name = "修改人")]
        [MaxLength(200)]
        [Column(TypeName = "nvarchar(200)")]
        public string? Modifier { get; set; }

        /// <summary>
        ///修改时间
        /// </summary>
        [Display(Name = "修改时间")]
        [Column(TypeName = "datetime")]
        public DateTime? ModifyDate { get; set; }

        /// <summary>
        ///修改人编号
        /// </summary>
        [Display(Name = "修改人编号")]
        [Column(TypeName = "int")]
        public int? ModifyID { get; set; }


    }
}
